package com.gxxy.spring.kp02_modules.cls03_annotation.s4_exercise;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {
	
	@Autowired
	private IStudentDao dao;

	@Override
	public void save(Student stu) {
		// 处理保存学生对象的业务逻辑
		dao.save(stu);
	}

}
